import Vue from 'vue'
import App from './App.vue'
import VCharts from 'v-charts'
import router from './router'
import store from './store'
import {
   LocaleProvider,
   Layout,
   Row,
   Col,
   Menu,
   Button,
   Form,
   Input,
   InputNumber,
   Message,
   Table,
   Divider,
   Popconfirm,
   Icon,
   Modal,
   Select,
   Notification,
   TreeSelect,
   Tag,
   Switch,
   DatePicker,
   Progress
} from 'ant-design-vue'

Vue.use(VCharts)

Vue.use(LocaleProvider)
Vue.use(Layout)
Vue.use(Row)
Vue.use(Col)
Vue.use(Menu)
Vue.use(Button)
Vue.use(Form)
Vue.use(Input)
Vue.use(InputNumber)
Vue.use(Table)
Vue.use(Divider)
Vue.use(Popconfirm)
Vue.use(Icon)
Vue.use(Modal)
Vue.use(Select)
Vue.use(TreeSelect)
Vue.use(Tag)
Vue.use(Switch)
Vue.use(DatePicker)
Vue.use(Progress)

Vue.config.productionTip = false

Vue.prototype.$message = Message
Vue.prototype.$notification = Notification
Vue.prototype.$confirm = Modal.confirm

new Vue({
   router,
   store,
   render: h => h(App)
}).$mount('#app')
